Rust Quick Start Guide by Daniel Arbuckle

Rust Quick Start Guide by Daniel Arbuckle

Author:Daniel Arbuckle
Language: eng
Format: mobi, epub
Tags: COM051000 - COMPUTERS / Programming / General, COM051010 - COMPUTERS / Programming Languages / General, COM011000 - COMPUTERS / Systems Architecture / General
Publisher: Packt
Published: 2018-11-16T05:47:21+00:00


Matching tuples and other more complex patterns

Matching simple patterns is very useful, but there's more that we can do. Patterns can be more complex, consisting of representations of several layers of nested data structures and other data types. Patterns can assign to a variable name while still looking deeper into the structure to make sure the contained information matches what we want. Or patterns can be simplified, checking only a few parts of the data structure and ignoring the rest.

Nested patterns



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.